package com.xiamaliu.login;

public class LoginForWechatAdapter extends AbstraceAdapter {

    public boolean support(Object adapter) {
        return adapter instanceof LoginForWechatAdapter;
    }

    public ResultMsg login(String id, Object adapter) {
        if(!support(adapter)){
            return null;
        }
        //模拟微信登录
        return super.loginForRegist(id, adapter);
    }
}
